package com.inossem.warehousestorage_inossem.request.base;

import android.content.Context;

import com.inossem.warehousestorage_inossem.constant.RequestConstant;
import com.inossem.warehousestorage_inossem.listener.GsonBeanListener;
import com.inossem.warehousestorage_inossem.listener.StringRequestListener;
import com.inossem.warehousestorage_inossem.manage.RequestManage;
import com.inossem.warehousestorage_inossem.model.StringResponse;
import com.inossem.warehousestorage_inossem.request.Request;

/**
 * Created by leij on 2017/6/13.
 */

public class Test401Request extends Request {

    public static String request(Context context, GsonBeanListener gsonBeanListener) {
        String tag;
        String url = RequestManage.getUrl(context,RequestConstant.URL_401);
        tag= RequestManage.getHttpsPostWithLoading(context, url, "", new StringRequestListener() {
            @Override
            public void onSuccess(StringResponse stringRequestResponse) {
            }
        });
        return tag;
    }

}
